All Questions
Tagged with iosnetworking
8 questions
2votes
1answer
262views
API call to list top stories using dependency injection in iOS with MVVM
I'm currently trying to find out what's the best networking architecture for MVVM applications. I couldn't find many resources and decided to go with dependency injection based architecture as per the ...
2votes
3answers
199views
I want to take away WebService call from UIViewController
I am using Moya to make network calls in Swift. In my ViewController I am calling the WebService and creating a model from response. ...
17votes
2answers
20kviews
Getting WiFi SSID on iOS in Swift
I've seen a lot of Objective-C implementations but I'd like to do it in Swift. I did it like this and it seems to work just fine. Does anyone have comments and/or improvements to make? ...
10votes
1answer
645views
Networking in iOS Swift
This piece of code is working - It gives me a lot of JSON back, which I have yet to parse, but I'd like to show my code here first to get tips on how to improve what I already have: VenueService....
10votes
1answer
22kviews
Pure Swift solution for socket programming
I have spend quite some time now to find out how exactly to do socket programming in Swift (Xcode 6.1). There are a few examples out there, but most of them no longer work for the latest release of ...
3votes
1answer
565views
Error-handling #ifdefs for AFNetworking requests
I am using AFNetworking 1.4.3 to send and receive network messages in iOS. My application works slightly differently in DEBUG and RELEASE mode, so I need to use ...
1vote
1answer
8kviews
App for making calls to web services - AFNetworking 2.0
I've built a base class that I use a lot in my iOS app to make calls to web services. I built the base class to make the actual call and this base class is only ever used by another class. The idea ...
4votes
2answers
8kviews
Asynchronous networking iOS API calls
I have the code above in my iOS SDK that I am building that makes it easy for users of the SDK to make API calls. Basically, users can specify an API endpoint and easily make API calls. Is there any ...